package com.it.controller;/**
 * @ClassName IndexController
 * @Description: TODO
 * @Author gejianhao
 * @Date 2019/7/30
 * @Version V1.0
 **/

import com.it.service.IndexService;
import com.it.util.QdtecAutowired;
import com.it.util.QdtecController;
import com.it.util.QdtecRequestMapping;
import com.it.util.QdtecRequestParam;

/**
 * @ClassName IndexController
 * @Description: 自定义Spring容器
 * @Author gejianhao
 * @Date 2019/7/30
 * @Version V1.0
 **/

@QdtecRequestMapping("/indexContr")
@QdtecController
public class IndexController {

    @QdtecAutowired("indexServiceImpl")
    private IndexService indexService;


    @QdtecRequestMapping("/index")
    public String index(@QdtecRequestParam String name) {
        System.out.println("test");
        return "index";
    }
}
